package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import com.rockcent.mall.lib.domain.IntegrationCashCouponWallet;
import com.rockcent.mall.lib.domain.IntegrationCouponWallet;

import java.util.Arrays;
import java.util.List;

/**
 * 积分渠道
 * Created by zhangjh on 2016/12/14.
 */

public class IntegrationChannelDto extends DtoEntity {

    /**
     * 平台ID
     */
    private Long mallId;

    /**
     * 名称
     */
    private String name;

    /**
     * 平台认证key
     */
    private String appKey;

    /**
     * 现金券的使用情况
     */
    private IntegrationCashCouponWallet cashWallet;

    /**
     * 积分卡券的使用情况
     */
    private IntegrationCouponWallet couponWallet;
    /**
     * 开始时间
     */
    private String startTime;
    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 面值
     */
    private Long faceValue;

    /**
     * 兑换码
     */
    private String exchangeCode;

    /**
     * 批次号
     */
    private Integer batchPutNo;

    /**
     *
     */
    private Long exchangeNumCoupon;
    /**
     *
     */
    private Long exchangeNumCash;

    /**
     * 发放数量
     */
    private Long quantity;

    /**
     * 导出标题集合
     */
    private List<String> titles;


    private  Double exchangeNumCashAmount;
    private  Double exchangeNumCouponAmount;
    private String flagCode;
    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }


    public IntegrationCashCouponWallet getCashWallet() {
        return cashWallet;
    }

    public void setCashWallet(IntegrationCashCouponWallet cashWallet) {
        this.cashWallet = cashWallet;
    }

    public IntegrationCouponWallet getCouponWallet() {
        return couponWallet;
    }

    public void setCouponWallet(IntegrationCouponWallet couponWallet) {
        this.couponWallet = couponWallet;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Long getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(Long faceValue) {
        this.faceValue = faceValue;
    }

    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }


    public Long getExchangeNumCoupon() {
        return exchangeNumCoupon;
    }

    public void setExchangeNumCoupon(Long exchangeNumCoupon) {
        this.exchangeNumCoupon = exchangeNumCoupon;
    }

    public Long getExchangeNumCash() {
        return exchangeNumCash;
    }

    public void setExchangeNumCash(Long exchangeNumCash) {
        this.exchangeNumCash = exchangeNumCash;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Integer getBatchPutNo() {
        return batchPutNo;
    }

    public void setBatchPutNo(Integer batchPutNo) {
        this.batchPutNo = batchPutNo;
    }

    public List<String> getTitles() {
        return titles;
    }

    public void setTitles(List<String> titles) {
        this.titles = titles;
    }

    public Double getExchangeNumCashAmount() {
        return exchangeNumCashAmount;
    }

    public void setExchangeNumCashAmount(Double exchangeNumCashAmount) {
        this.exchangeNumCashAmount = exchangeNumCashAmount;
    }

    public Double getExchangeNumCouponAmount() {
        return exchangeNumCouponAmount;
    }

    public void setExchangeNumCouponAmount(Double exchangeNumCouponAmount) {
        this.exchangeNumCouponAmount = exchangeNumCouponAmount;
    }

    public String getFlagCode() {
        return flagCode;
    }

    public void setFlagCode(String flagCode) {
        this.flagCode = flagCode;
    }

    @Override
    public String toString() {
        return "IntegrationChannelDto{" +
                "mallId=" + mallId +
                ", name='" + name + '\'' +
                ", appKey='" + appKey + '\'' +
                ", cashWallet=" + cashWallet +
                ", couponWallet=" + couponWallet +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", faceValue=" + faceValue +
                ", exchangeCode='" + exchangeCode + '\'' +
                ", batchPutNo=" + batchPutNo +
                ", exchangeNumCoupon=" + exchangeNumCoupon +
                ", exchangeNumCash=" + exchangeNumCash +
                ", quantity=" + quantity +
                ", titles=" + titles +
                ", exchangeNumCashAmount=" + exchangeNumCashAmount +
                ", exchangeNumCouponAmount=" + exchangeNumCouponAmount +
                ", flagCode='" + flagCode + '\'' +
                '}';
    }
}
